#pragma once

#include "HandwritingIdentificationDoc.h"

// CDlgBatchProcessing dialog

class CDlgBatchProcessing : public CDialog
{
	DECLARE_DYNAMIC(CDlgBatchProcessing)

public:
	CDlgBatchProcessing(CWnd* pParent = NULL);   // standard constructor
	virtual ~CDlgBatchProcessing();

public:
	HDIB GetHDIB() const
		{ return m_hDIB; }
	CPalette* GetDocPalette() const
		{ return m_palDIB; }
	CSize GetDocSize() const
		{ return m_sizeDoc; }
	CDibImage* GetDibImage() const
		{ return m_pDibImage; }
	CDibImage* m_pDibImage;
	HDIB m_hDIB;
	CPalette* m_palDIB;
	CSize m_sizeDoc;
	CString GetPath();

// Dialog Data
	enum { IDD = IDD_DLGBATCHPROCESSING };

	CString       m_dirname;
	CString       m_savefn;
	CProgressCtrl m_ctrlProgress;
	int           m_CheckBox[10];

protected:
	CDocument* m_pDocument;
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedButtonOpen();
	afx_msg void OnBnClickedButtonSave();
	afx_msg void OnBnClickedButtonDo();
	virtual BOOL OnInitDialog();
	
public:
	afx_msg void OnBnClickedCheckTrain0();
public:
	afx_msg void OnBnClickedCheckTrain1();
public:
	afx_msg void OnBnClickedCheckTrain2();
public:
	afx_msg void OnBnClickedCheckTrain4();
public:
	afx_msg void OnBnClickedCheckTrain5();
public:
	afx_msg void OnBnClickedCheckTrain7();
};
